package com.team.recruitment_management_system.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Arrays;
import java.util.Date;
import java.util.List;

@Data
@Schema(description = "工商信息返回类")
public class BusinessInformationVo {
    @Schema(description = "工商信息ID")
    private Integer id;

    /**
     * 公司全称
     */
    @Schema(description = "公司全称")
    private String name;

    /**
     * 成立时间
     */
    @Schema(description = "成立时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date establishmentTime;

    /**
     * 注册资金
     */
    @Schema(description = "注册资金")
    private Double registeredCapital;

    /**
     * 法人代表
     */
    @Schema(description = "法人代表")
    private String legalRepresentative;

    /**
     * 注册地址
     */
    @Schema(description = "注册地址")
    private String registeredLocation;

    /**
     * 统一信用代码
     */
    @Schema(description = "统一信用代码")
    private String code;

    /**
     * 所属行业
     */
    @Schema(description = "所属行业")
    private String industry;

    /**
     * 所在地
     */
    @Schema(description = "所在地")
    private String location;

    /**
     * 登记机关
     */
    @Schema(description = "登记机关")
    private String registrationAuthority;

    /**
     * 营业期限
     */
    @Schema(description = "营业期限")
    private String businessTerm;

    /**
     * 企业类型
     */
    @Schema(description = "企业类型")
    private String type;

    /**
     * 经营状态 1到8：存续、在业、吊销、注销、迁入、迁出、停业、清算
     */
    @Schema(description = "经营状态")
    private Integer status;

    /**
     * 经营范围
     */
    @Schema(description = "经营范围")
    private String scope;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date createTime;
}
